package com.hyj.shop.project.user.service;

import com.hyj.shop.project.utils.domain.AjaxResult;
import com.hyj.shop.project.user.domain.UserInfo;
import org.springframework.web.multipart.MultipartFile;

public interface UserInfoService {
    public AjaxResult updateUserInfo(MultipartFile file,String content,String type);
    //修改昵称
    public AjaxResult updateNickName(UserInfo userInfo);
    //修改性别
    public AjaxResult updateSexy(UserInfo userInfo);
    //修改生日
    public AjaxResult updateBirthday(UserInfo userInfo);
//    修改头像
    public AjaxResult updateAvatar(int userId,String path);
    public AjaxResult queryUserInfo(int userId);
}
